//
//  MineCollectGalleryCollectionCell.m
//  ArtDog
//
//  Created by dllo on 16/9/14.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "MineCollectGalleryCollectionCell.h"
#import "MineCollectGalleryList.h"
#import "UIImageView+WebCache.h"

@interface MineCollectGalleryCollectionCell ()

@property (weak, nonatomic) IBOutlet UIImageView *imageView;

@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@end

@implementation MineCollectGalleryCollectionCell

- (void)awakeFromNib {
    [super awakeFromNib];
}

- (void)setGalleryModel:(MineCollectGalleryList *)galleryModel
{
    _galleryModel = galleryModel;
    [_imageView sd_setImageWithURL:[NSURL URLWithString:galleryModel.galleryPic] placeholderImage:[UIImage imageNamed:@"placeholder"]];
    _nameLabel.text = galleryModel.galleryName;
}

@end
